package com.sz.service;

import com.sz.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IUserSV {
    User getUserByUsername(String username);
    int updateName(String username,String name);
    int updatePassword(String username,String password);
    int updateRemarks(String username,String remarks);
    int addUser(User user);
    boolean isHaveUsername(String username);
    List<User> getAllByAuth(int auth);
    int updateOneById(User user);
    int deleteOneById(User user);
}
